//
//  MMTextStyleViewController.h
//  MemeMaker
//
//  Created by dangthan on 7/13/13.
//  Copyright (c) 2013 soyo. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "MMTextStyleView.h"
#import "MMColorBoard.h"
#import "MMColorBar.h"
#import "MMPaintingView.h"

@class MMTextStyleModel;
@protocol MMTextStyleControllerDelegate <NSObject>
@optional
- (void) didFinishedChanged:(MMTextStyleModel*)textStyleModel;
@end

@interface MMTextStyleViewController : UIViewController <MMTextStyleDelegate, MMColorBarDelegate, MMColorBoardDelegate, UIAlertViewDelegate, MMPaintingViewDelegate>{
    MMColorBar *colorBar;
    MMPaintingView *paintingView;
    NSString *txtInput;
    UIFont *currentFont;
    NSTextAlignment currentTextAlignment;
    UIColor *currentColor;
    CGFloat currentTextSize;
    __weak IBOutlet UIButton *btnInput;
}

@property (nonatomic, assign) id<MMTextStyleControllerDelegate> delegate;

@end
